<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="./result.html">
        <ul>
            <!-- autocomplete 如果值是off,提交表单再返回这个页面，不保留原来填写的信息 -->
            <li>邮箱: <input type="email" name="email" autocomplete="on" /></li>
            <li>网址: <input type="url" name="url" autocomplete="off" /></li>
            <li>日期: <input type="date" name="date" /></li>
            <li>时间: <input type="time" name="time" /></li>
            <li>数量: <input type="number" name="num" /></li>
            <!-- pattern 正则验证 -->
            <li>手机号码: <input type="tel" name="tel" pattern="1[3,4,5,6,7,8,9]\d{9}" /></li>
            <!--  required 必填项 -->
            <li>搜索: <input type="search" name="sear" autofocus required /></li>
            <li>颜色: <input type="color" name="color" /></li>
            <!-- min 步长的最小值   max  步长的最大值  step 步长 每次拖动走几个格 -->
            <li>步长: <input type="range" name="range" min="0" max="10" step="5" /></li>
            <!-- 当我们点击提交按钮就可以验证表单了 -->
            <li> <input type="submit" value="提交"></li>
        </ul>
    </form>
</body>

</html>